package com.pervasive.project.unified.data.constants;

public class Constants {

	public static enum cardId 
	{
		RED_1(Constants.cardType.RED, 1), 
		RED_2(Constants.cardType.RED, 2), 
		RED_3(Constants.cardType.RED, 3), 
		RED_4(Constants.cardType.RED, 4), 
		RED_5(Constants.cardType.RED, 5), 
		RED_6(Constants.cardType.RED, 6), 
		RED_7(Constants.cardType.RED, 7),
		BLUE_1(Constants.cardType.BLUE, 1), 
		BLUE_2(Constants.cardType.BLUE, 2), 
		BLUE_3(Constants.cardType.BLUE, 3), 
		BLUE_4(Constants.cardType.BLUE, 4), 
		BLUE_5(Constants.cardType.BLUE, 5), 
		BLUE_6(Constants.cardType.BLUE, 6), 
		BLUE_7(Constants.cardType.BLUE, 7),
		GREEN_1(Constants.cardType.GREEN, 1), 
		GREEN_2(Constants.cardType.GREEN, 2), 
		GREEN_3(Constants.cardType.GREEN, 3), 
		GREEN_4(Constants.cardType.GREEN, 4), 
		GREEN_5(Constants.cardType.GREEN, 5), 
		GREEN_6(Constants.cardType.GREEN, 6), 
		GREEN_7(Constants.cardType.GREEN, 7),
		YELLOW_1(Constants.cardType.YELLOW, 1), 
		YELLOW_2(Constants.cardType.YELLOW, 2), 
		YELLOW_3(Constants.cardType.YELLOW, 3), 
		YELLOW_4(Constants.cardType.YELLOW, 4), 
		YELLOW_5(Constants.cardType.YELLOW, 5), 
		YELLOW_6(Constants.cardType.YELLOW, 6), 
		YELLOW_7(Constants.cardType.YELLOW, 7);
		
		private final cardType cardType;
		private final Integer position;
		
		cardId(cardType cardType, int position)
		{
			this.cardType = cardType;
			this.position = position;
		}
		
		public cardType getCardType()
		{
			return this.cardType;
		}
		
		public Integer getPosition()
		{
			return this.position;
		}
	}
	
	public static enum cardType {ALL, RED, BLUE, GREEN, YELLOW}
	
	public static enum cardStar 
	{
		ZERO(1, 0), ONE(2, 1), TWO(3, 2), THREE(4, 3);
		
		private final int value;
		private final int exp;
		
		cardStar(int value, int exp)
		{
			this.value = value;
			this.exp = exp;
		}
		
		public int getValue()
		{
			return this.value;
		}
		
		public int getExp()
		{
			return this.exp;
		}
	}
}
